var express = require('express');
var router = express.Router();

const navRouter = require("./admin/nav")
const loginRouter = require("./admin/login")

router.use("/nav", navRouter);
router.use("/login", loginRouter);

router.get('/', function(req, res, next) {
  res.send('admin');
});

module.exports = router;
